package com.ruoyi.cat.domain.VO;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Data
public class SysOracleVO {

    @ApiModelProperty("文章id")
    @NotNull(message = "文章id不能为空")
    private Long id;

    @ApiModelProperty("目标数量")
    @NotNull(message = "目标数量不能为空")
    @Min(value = 1, message = "目标数量不能小于1")
    private Long targetNum;

    @ApiModelProperty("用户id")
    private Long userId;

}
